package com.sch.www.codeGenerator.dao;

import java.util.List;


public class GeneratorProperties {

    private  Db db;
    private List<Table> tableList;

    private String entityTargetProject;
    private String entityPackageName;
    private String entityRootClass;

    private String daoTargetProject;
    private String daoPackageName;

    private String mapperTargetProject;
    private String mapperPackageName;

    public Db getDb() {
        return db;
    }

    public void setDb(Db db) {
        this.db = db;
    }

    public List<Table> getTableList() {
        return tableList;
    }

    public void setTableList(List<Table> tableList) {
        this.tableList = tableList;
    }

    public String getEntityTargetProject() {
        return entityTargetProject;
    }

    public void setEntityTargetProject(String entityTargetProject) {
        this.entityTargetProject = entityTargetProject;
    }

    public String getEntityPackageName() {
        return entityPackageName;
    }

    public void setEntityPackageName(String entityPackageName) {
        this.entityPackageName = entityPackageName;
    }

    public String getEntityRootClass() {
        return entityRootClass;
    }

    public void setEntityRootClass(String entityRootClass) {
        this.entityRootClass = entityRootClass;
    }

    public String getDaoTargetProject() {
        return daoTargetProject;
    }

    public void setDaoTargetProject(String daoTargetProject) {
        this.daoTargetProject = daoTargetProject;
    }

    public String getDaoPackageName() {
        return daoPackageName;
    }

    public void setDaoPackageName(String daoPackageName) {
        this.daoPackageName = daoPackageName;
    }

    public String getMapperTargetProject() {
        return mapperTargetProject;
    }

    public void setMapperTargetProject(String mapperTargetProject) {
        this.mapperTargetProject = mapperTargetProject;
    }

    public String getMapperPackageName() {
        return mapperPackageName;
    }

    public void setMapperPackageName(String mapperPackageName) {
        this.mapperPackageName = mapperPackageName;
    }

    public static class Db {
        private String userName;
        private String password;
        private String connectionURL;
        private String driverClassName;
        private String driverLocation;

        public Db(String userName, String password, String connectionURL, String driverClassName, String driverLocation) {
            this.userName = userName;
            this.password = password;
            this.connectionURL = connectionURL;
            this.driverClassName = driverClassName;
            this.driverLocation = driverLocation;
        }

        public Db() {
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getConnectionURL() {
            return connectionURL;
        }

        public void setConnectionURL(String connectionURL) {
            this.connectionURL = connectionURL;
        }

        public String getDriverClassName() {
            return driverClassName;
        }

        public void setDriverClassName(String driverClassName) {
            this.driverClassName = driverClassName;
        }

        public String getDriverLocation() {
            return driverLocation;
        }

        public void setDriverLocation(String driverLocation) {
            this.driverLocation = driverLocation;
        }
    }


}
